package com.baizhi.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * 
 * 
 * @author chenjf
 * @email 3442748294@qq.com
 * @date 2021-08-26 10:25:00
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@TableName("yx_log")
public class Log implements Serializable {
	@TableId(type = IdType.ASSIGN_ID,value = "id")
	private String id;
	@TableField(value = "admin_name")
	private String adminName;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@TableField(value = "option_time")
	private Date optionTime;
	@TableField(value = "method_name")
	private String methodName;
	@TableField(value = "status")
	private String status;

}
